<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jquery.min.js"></script>
</head>
<body>
    <div>
        <span>内容</span>
    </div>
    <input type="text" value="请输入内容">
    <script>
       console.log( $('div').html());//相当于原生innerHTML
       console.log($('div').text());//相当于原生innerText
       console.log($('input').val());//相当于原生获取表单value值
       console.log($('input').val('jquery'));//相当于原生表单中给value重新赋值
    </script>
</body>
</html>